<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>剑桥英语</title>
</head>
<body>
<script type="text/javascript">
    (function () {
        var sUserAgent = navigator.userAgent;
        console.log(sUserAgent.indexOf('Android') > -1 || sUserAgent.indexOf('iPhone') > -1 || sUserAgent.indexOf('iPad') > -1 || sUserAgent.indexOf('iPod') > -1 || sUserAgent.indexOf('Symbian') > -1)
        if (sUserAgent.indexOf('Android') > -1 || sUserAgent.indexOf('iPhone') > -1 || sUserAgent.indexOf('iPad') > -1 || sUserAgent.indexOf('iPod') > -1 || sUserAgent.indexOf('Symbian') > -1) {
            location.href = './mobile/index.html';
        } else {
            location.href = 'pc/index.html';
        }
    })();
</script>
</body>
</html>
